<template>
  <div id="main">
      <router-view ref="view"></router-view>
  </div>
</template>
<script>
import autoResize from "./util/autoResize";
//禁止缩放
export default {
  mixins: [autoResize],
  data() {
    return {}
  },
  methods:{

  },
  mounted() {
    document.body.style.width = `${document.documentElement.clientWidth}px`
    document.body.style.height = `${document.documentElement.clientHeight}px`
  }
};
</script>
<style>
body {
  position: fixed;
  top: 0px;
  left: 0px;
  overflow: hidden;
  transform-origin: left top;
  z-index: 999;
  margin: 0;
}
</style>
